package serie06.util;

/**
 * Modelise les boissons.
 */
public enum DrinkTypes {
	COFFEE("Café", 35), 
	CHOCOLATE("Chocolat", 45), 
	ORANGE_JUICE("Orange", 110);
	
	private final String name;
	private final int price;
	
	DrinkTypes(String name, int price) {
		this.name = name;
		this.price = price;
	}
	
	public int getPrice() {
		return price;
	}
	
	public String toString() {
		return name;
	}

}
